package com.chixing;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication
@MapperScan("com.chixing.mapper")
@EnableMongoRepositories("com.chixing.repository")
@EnableRabbit
public class HotelJavaApplication {

    public static void main(String[] args) {
        SpringApplication.run(HotelJavaApplication.class, args);
    }

}
